package com.swak.fx.support.ui;

import com.swak.fx.support.ui.UI.Colors;

import javafx.scene.shape.Circle;

/**
 * UIDot.
 * 
 * @author DELL
 */
public class UIDot extends Circle {

	private final String STYLE_CLASS = "ui-dot";

	public UIDot() {
		super(5);
		getStyleClass().add(STYLE_CLASS);
	}

	public UIDot Default() {
		this.setFill(Colors.White);
		return this;
	}

	public UIDot Primary() {
		this.setFill(Colors.Primary);
		return this;
	}

	public UIDot Success() {
		this.setFill(Colors.Success);
		return this;
	}

	public UIDot Info() {
		this.setFill(Colors.Info);
		return this;
	}

	public UIDot Warning() {
		this.setFill(Colors.Warning);
		return this;
	}

	public UIDot Danger() {
		this.setFill(Colors.Danger);
		return this;
	}
}
